(function(){"use strict";BX.namespace("BX.Landing.UI.Button");BX.Landing.UI.Button.PasteTable=function(t,n){BX.Landing.UI.Button.EditorAction.apply(this,arguments);this.editPanel=null;this.options=n};BX.Landing.UI.Button.PasteTable.prototype={constructor:BX.Landing.UI.Button.PasteTable,__proto__:BX.Landing.UI.Button.EditorAction.prototype,onClick:function(t){t.preventDefault();t.stopPropagation();if(top.window.copiedTable){var n=this.contextDocument.createElement("div");n.appendChild(top.window.copiedTable.cloneNode(true));n.querySelector(".landing-table-container").classList.add("landing-table-pasted");this.contextDocument.execCommand("insertHTML",null,n.innerHTML);var e=this.contextDocument.querySelector(".landing-table-pasted");e.innerHTML="";e.appendChild(top.window.copiedTable.querySelector(".landing-table").cloneNode(true));e.classList.remove("landing-table-pasted")}}}})();
//# sourceMappingURL=paste_table.map.js